package com.my.cd.builder;

/**
 * 具体的生成器：4天假期计划生成器
 */
public class Common4dBuilder extends AbstractCommonBuilder {

    public Common4dBuilder(String startDate) {
        super(startDate);
    }

    @Override
    public Builder buildVacation() {
        addTicket("Plane Ticket");
        addEvent("fly to Destination");
        addEvent("Supper");
        addHotel("Hilton");

        vacation.addDay();
        addTicket("Zoo Ticket");
        addEvent("Bus to Zoo");
        addEvent("Feed animals");
        addHotel("Hilton");

        vacation.addDay();
        addTicket("Beach");
        addEvent("Swimming");
        addHotel("Home inn");

        vacation.addDay();
        addTicket("Plane Ticket");
        addEvent("fly to Home");
        return this;
    }

}
